home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Forcing a draw
- Sent: 5/17/96 10:33 AM
- Received: 5/17/96 10:51 AM
- From: Bill Finzer, bfinzer@mail.keypress.com
- Reply-To: ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- Subject: RE>>Forcing a draw Time: 10:32 AM Date:5/17/96
-
- >>In a DoMouseDown of a subView, the user is dragging a point in a graph,
- thus
- >>changing the data in the model layer. The model has dependents, including
- >>some views, which are notified of the change. The views need to redraw
- >>themselves immediately; i.e., without waiting for an update, so that the
- user
- >>gets feedback about the effects of the drag during the drag.
- >>
- >>I have been unable to discover any way to force an immediate redraw of an
- >>individual view. Can anyone help me?
- >>
- >>I'm using ODF d11 and downloading ODF 1.0 as I write.
- >>
- >>Bill Finzer
- >>Key Curriculum Press
- >
- >This easiest way would be to call Invalidate on the view and immediately
- >call Draw. We need to add a ForceRedraw method.
- >
- >.......................................................................
- > Henri Lamiraux lamiraux@apple.com
- > Apple Computer, Inc. OpenDoc(tm) Development Framework
- >.......................................................................
-
- The interface Draw(Environment *ev, ODFacet* odFacet, ODShape* invalidShape)
- requires an ODFacet. How does a plain old FW_CView get hold of the right
- facet?
-
- Bill Finzer
- Key Curriculum Press
-